package com.yc.cloud.common.websocket.core;

public interface SocketConstants {

    String URL_PARAM_TOKEN = "token";
    String URL_PARAM_DISPLAY = "display";

    String URL_PARAM_ROOM = "room";

    String SYMBOL = "$yancy$";
    String SYMBOL_ESCAPE = "\\$yancy\\$";

    String SEND_MESSAGE_SUCCESS = "success";


    String MESSAGE_USER_CONNECTED = "userConnected";
    String MESSAGE_USER_DISCONNECTED = "userDisConnected";

    String MESSAGE_GET_INTRODUCE = "getIntroduce";

    String MESSAGE_UPDATE_SPATIAL_LOCATION = "updateSpatialLocation";
    String MESSAGE_INTRODUCE = "introduce";

    String MESSAGE_POSITION = "position";

    String MESSAGE_MOVE = "move";

    String MESSAGE_POSITION_CONTROL = "positionControl";

    String MESSAGE_MOVE_CONTROL = "moveControl";

    String MESSAGE_UPDATE_AVATAR = "updateAvatar";

    String MESSAGE_GET_ONLINE_PLAYER_COUNT = "getOnlinePlayerCount";


    String MESSAGE_GET_ONLINE_PLAYER_COUNT_RESULT = "getOnlinePlayerCountResult";

    String MESSAGE_AVATAR = "avatar";

    String MESSAGE_UPDATE_AVATAR_SUCCESS = "updateAvatarSuccess";

}
